package com.waters.base.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BasePExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public BasePExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOpidIsNull() {
            addCriterion("opid is null");
            return (Criteria) this;
        }

        public Criteria andOpidIsNotNull() {
            addCriterion("opid is not null");
            return (Criteria) this;
        }

        public Criteria andOpidEqualTo(String value) {
            addCriterion("opid =", value, "opid");
            return (Criteria) this;
        }

        public Criteria andOpidNotEqualTo(String value) {
            addCriterion("opid <>", value, "opid");
            return (Criteria) this;
        }

        public Criteria andOpidGreaterThan(String value) {
            addCriterion("opid >", value, "opid");
            return (Criteria) this;
        }

        public Criteria andOpidGreaterThanOrEqualTo(String value) {
            addCriterion("opid >=", value, "opid");
            return (Criteria) this;
        }

        public Criteria andOpidLessThan(String value) {
            addCriterion("opid <", value, "opid");
            return (Criteria) this;
        }

        public Criteria andOpidLessThanOrEqualTo(String value) {
            addCriterion("opid <=", value, "opid");
            return (Criteria) this;
        }

        public Criteria andOpidLike(String value) {
            addCriterion("opid like", value, "opid");
            return (Criteria) this;
        }

        public Criteria andOpidNotLike(String value) {
            addCriterion("opid not like", value, "opid");
            return (Criteria) this;
        }

        public Criteria andOpidIn(List<String> values) {
            addCriterion("opid in", values, "opid");
            return (Criteria) this;
        }

        public Criteria andOpidNotIn(List<String> values) {
            addCriterion("opid not in", values, "opid");
            return (Criteria) this;
        }

        public Criteria andOpidBetween(String value1, String value2) {
            addCriterion("opid between", value1, value2, "opid");
            return (Criteria) this;
        }

        public Criteria andOpidNotBetween(String value1, String value2) {
            addCriterion("opid not between", value1, value2, "opid");
            return (Criteria) this;
        }

        public Criteria andPnameIsNull() {
            addCriterion("pname is null");
            return (Criteria) this;
        }

        public Criteria andPnameIsNotNull() {
            addCriterion("pname is not null");
            return (Criteria) this;
        }

        public Criteria andPnameEqualTo(String value) {
            addCriterion("pname =", value, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameNotEqualTo(String value) {
            addCriterion("pname <>", value, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameGreaterThan(String value) {
            addCriterion("pname >", value, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameGreaterThanOrEqualTo(String value) {
            addCriterion("pname >=", value, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameLessThan(String value) {
            addCriterion("pname <", value, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameLessThanOrEqualTo(String value) {
            addCriterion("pname <=", value, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameLike(String value) {
            addCriterion("pname like", value, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameNotLike(String value) {
            addCriterion("pname not like", value, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameIn(List<String> values) {
            addCriterion("pname in", values, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameNotIn(List<String> values) {
            addCriterion("pname not in", values, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameBetween(String value1, String value2) {
            addCriterion("pname between", value1, value2, "pname");
            return (Criteria) this;
        }

        public Criteria andPnameNotBetween(String value1, String value2) {
            addCriterion("pname not between", value1, value2, "pname");
            return (Criteria) this;
        }

        public Criteria andPvalueIsNull() {
            addCriterion("pvalue is null");
            return (Criteria) this;
        }

        public Criteria andPvalueIsNotNull() {
            addCriterion("pvalue is not null");
            return (Criteria) this;
        }

        public Criteria andPvalueEqualTo(String value) {
            addCriterion("pvalue =", value, "pvalue");
            return (Criteria) this;
        }

        public Criteria andPvalueNotEqualTo(String value) {
            addCriterion("pvalue <>", value, "pvalue");
            return (Criteria) this;
        }

        public Criteria andPvalueGreaterThan(String value) {
            addCriterion("pvalue >", value, "pvalue");
            return (Criteria) this;
        }

        public Criteria andPvalueGreaterThanOrEqualTo(String value) {
            addCriterion("pvalue >=", value, "pvalue");
            return (Criteria) this;
        }

        public Criteria andPvalueLessThan(String value) {
            addCriterion("pvalue <", value, "pvalue");
            return (Criteria) this;
        }

        public Criteria andPvalueLessThanOrEqualTo(String value) {
            addCriterion("pvalue <=", value, "pvalue");
            return (Criteria) this;
        }

        public Criteria andPvalueLike(String value) {
            addCriterion("pvalue like", value, "pvalue");
            return (Criteria) this;
        }

        public Criteria andPvalueNotLike(String value) {
            addCriterion("pvalue not like", value, "pvalue");
            return (Criteria) this;
        }

        public Criteria andPvalueIn(List<String> values) {
            addCriterion("pvalue in", values, "pvalue");
            return (Criteria) this;
        }

        public Criteria andPvalueNotIn(List<String> values) {
            addCriterion("pvalue not in", values, "pvalue");
            return (Criteria) this;
        }

        public Criteria andPvalueBetween(String value1, String value2) {
            addCriterion("pvalue between", value1, value2, "pvalue");
            return (Criteria) this;
        }

        public Criteria andPvalueNotBetween(String value1, String value2) {
            addCriterion("pvalue not between", value1, value2, "pvalue");
            return (Criteria) this;
        }

        public Criteria andPdescIsNull() {
            addCriterion("pdesc is null");
            return (Criteria) this;
        }

        public Criteria andPdescIsNotNull() {
            addCriterion("pdesc is not null");
            return (Criteria) this;
        }

        public Criteria andPdescEqualTo(String value) {
            addCriterion("pdesc =", value, "pdesc");
            return (Criteria) this;
        }

        public Criteria andPdescNotEqualTo(String value) {
            addCriterion("pdesc <>", value, "pdesc");
            return (Criteria) this;
        }

        public Criteria andPdescGreaterThan(String value) {
            addCriterion("pdesc >", value, "pdesc");
            return (Criteria) this;
        }

        public Criteria andPdescGreaterThanOrEqualTo(String value) {
            addCriterion("pdesc >=", value, "pdesc");
            return (Criteria) this;
        }

        public Criteria andPdescLessThan(String value) {
            addCriterion("pdesc <", value, "pdesc");
            return (Criteria) this;
        }

        public Criteria andPdescLessThanOrEqualTo(String value) {
            addCriterion("pdesc <=", value, "pdesc");
            return (Criteria) this;
        }

        public Criteria andPdescLike(String value) {
            addCriterion("pdesc like", value, "pdesc");
            return (Criteria) this;
        }

        public Criteria andPdescNotLike(String value) {
            addCriterion("pdesc not like", value, "pdesc");
            return (Criteria) this;
        }

        public Criteria andPdescIn(List<String> values) {
            addCriterion("pdesc in", values, "pdesc");
            return (Criteria) this;
        }

        public Criteria andPdescNotIn(List<String> values) {
            addCriterion("pdesc not in", values, "pdesc");
            return (Criteria) this;
        }

        public Criteria andPdescBetween(String value1, String value2) {
            addCriterion("pdesc between", value1, value2, "pdesc");
            return (Criteria) this;
        }

        public Criteria andPdescNotBetween(String value1, String value2) {
            addCriterion("pdesc not between", value1, value2, "pdesc");
            return (Criteria) this;
        }

        public Criteria andPbeginIsNull() {
            addCriterion("pbegin is null");
            return (Criteria) this;
        }

        public Criteria andPbeginIsNotNull() {
            addCriterion("pbegin is not null");
            return (Criteria) this;
        }

        public Criteria andPbeginEqualTo(Date value) {
            addCriterion("pbegin =", value, "pbegin");
            return (Criteria) this;
        }

        public Criteria andPbeginNotEqualTo(Date value) {
            addCriterion("pbegin <>", value, "pbegin");
            return (Criteria) this;
        }

        public Criteria andPbeginGreaterThan(Date value) {
            addCriterion("pbegin >", value, "pbegin");
            return (Criteria) this;
        }

        public Criteria andPbeginGreaterThanOrEqualTo(Date value) {
            addCriterion("pbegin >=", value, "pbegin");
            return (Criteria) this;
        }

        public Criteria andPbeginLessThan(Date value) {
            addCriterion("pbegin <", value, "pbegin");
            return (Criteria) this;
        }

        public Criteria andPbeginLessThanOrEqualTo(Date value) {
            addCriterion("pbegin <=", value, "pbegin");
            return (Criteria) this;
        }

        public Criteria andPbeginIn(List<Date> values) {
            addCriterion("pbegin in", values, "pbegin");
            return (Criteria) this;
        }

        public Criteria andPbeginNotIn(List<Date> values) {
            addCriterion("pbegin not in", values, "pbegin");
            return (Criteria) this;
        }

        public Criteria andPbeginBetween(Date value1, Date value2) {
            addCriterion("pbegin between", value1, value2, "pbegin");
            return (Criteria) this;
        }

        public Criteria andPbeginNotBetween(Date value1, Date value2) {
            addCriterion("pbegin not between", value1, value2, "pbegin");
            return (Criteria) this;
        }

        public Criteria andPendIsNull() {
            addCriterion("pend is null");
            return (Criteria) this;
        }

        public Criteria andPendIsNotNull() {
            addCriterion("pend is not null");
            return (Criteria) this;
        }

        public Criteria andPendEqualTo(Date value) {
            addCriterion("pend =", value, "pend");
            return (Criteria) this;
        }

        public Criteria andPendNotEqualTo(Date value) {
            addCriterion("pend <>", value, "pend");
            return (Criteria) this;
        }

        public Criteria andPendGreaterThan(Date value) {
            addCriterion("pend >", value, "pend");
            return (Criteria) this;
        }

        public Criteria andPendGreaterThanOrEqualTo(Date value) {
            addCriterion("pend >=", value, "pend");
            return (Criteria) this;
        }

        public Criteria andPendLessThan(Date value) {
            addCriterion("pend <", value, "pend");
            return (Criteria) this;
        }

        public Criteria andPendLessThanOrEqualTo(Date value) {
            addCriterion("pend <=", value, "pend");
            return (Criteria) this;
        }

        public Criteria andPendIn(List<Date> values) {
            addCriterion("pend in", values, "pend");
            return (Criteria) this;
        }

        public Criteria andPendNotIn(List<Date> values) {
            addCriterion("pend not in", values, "pend");
            return (Criteria) this;
        }

        public Criteria andPendBetween(Date value1, Date value2) {
            addCriterion("pend between", value1, value2, "pend");
            return (Criteria) this;
        }

        public Criteria andPendNotBetween(Date value1, Date value2) {
            addCriterion("pend not between", value1, value2, "pend");
            return (Criteria) this;
        }

        public Criteria andPremarkIsNull() {
            addCriterion("premark is null");
            return (Criteria) this;
        }

        public Criteria andPremarkIsNotNull() {
            addCriterion("premark is not null");
            return (Criteria) this;
        }

        public Criteria andPremarkEqualTo(String value) {
            addCriterion("premark =", value, "premark");
            return (Criteria) this;
        }

        public Criteria andPremarkNotEqualTo(String value) {
            addCriterion("premark <>", value, "premark");
            return (Criteria) this;
        }

        public Criteria andPremarkGreaterThan(String value) {
            addCriterion("premark >", value, "premark");
            return (Criteria) this;
        }

        public Criteria andPremarkGreaterThanOrEqualTo(String value) {
            addCriterion("premark >=", value, "premark");
            return (Criteria) this;
        }

        public Criteria andPremarkLessThan(String value) {
            addCriterion("premark <", value, "premark");
            return (Criteria) this;
        }

        public Criteria andPremarkLessThanOrEqualTo(String value) {
            addCriterion("premark <=", value, "premark");
            return (Criteria) this;
        }

        public Criteria andPremarkLike(String value) {
            addCriterion("premark like", value, "premark");
            return (Criteria) this;
        }

        public Criteria andPremarkNotLike(String value) {
            addCriterion("premark not like", value, "premark");
            return (Criteria) this;
        }

        public Criteria andPremarkIn(List<String> values) {
            addCriterion("premark in", values, "premark");
            return (Criteria) this;
        }

        public Criteria andPremarkNotIn(List<String> values) {
            addCriterion("premark not in", values, "premark");
            return (Criteria) this;
        }

        public Criteria andPremarkBetween(String value1, String value2) {
            addCriterion("premark between", value1, value2, "premark");
            return (Criteria) this;
        }

        public Criteria andPremarkNotBetween(String value1, String value2) {
            addCriterion("premark not between", value1, value2, "premark");
            return (Criteria) this;
        }

        public Criteria andCanreadIsNull() {
            addCriterion("canread is null");
            return (Criteria) this;
        }

        public Criteria andCanreadIsNotNull() {
            addCriterion("canread is not null");
            return (Criteria) this;
        }

        public Criteria andCanreadEqualTo(String value) {
            addCriterion("canread =", value, "canread");
            return (Criteria) this;
        }

        public Criteria andCanreadNotEqualTo(String value) {
            addCriterion("canread <>", value, "canread");
            return (Criteria) this;
        }

        public Criteria andCanreadGreaterThan(String value) {
            addCriterion("canread >", value, "canread");
            return (Criteria) this;
        }

        public Criteria andCanreadGreaterThanOrEqualTo(String value) {
            addCriterion("canread >=", value, "canread");
            return (Criteria) this;
        }

        public Criteria andCanreadLessThan(String value) {
            addCriterion("canread <", value, "canread");
            return (Criteria) this;
        }

        public Criteria andCanreadLessThanOrEqualTo(String value) {
            addCriterion("canread <=", value, "canread");
            return (Criteria) this;
        }

        public Criteria andCanreadLike(String value) {
            addCriterion("canread like", value, "canread");
            return (Criteria) this;
        }

        public Criteria andCanreadNotLike(String value) {
            addCriterion("canread not like", value, "canread");
            return (Criteria) this;
        }

        public Criteria andCanreadIn(List<String> values) {
            addCriterion("canread in", values, "canread");
            return (Criteria) this;
        }

        public Criteria andCanreadNotIn(List<String> values) {
            addCriterion("canread not in", values, "canread");
            return (Criteria) this;
        }

        public Criteria andCanreadBetween(String value1, String value2) {
            addCriterion("canread between", value1, value2, "canread");
            return (Criteria) this;
        }

        public Criteria andCanreadNotBetween(String value1, String value2) {
            addCriterion("canread not between", value1, value2, "canread");
            return (Criteria) this;
        }

        public Criteria andCanwriteIsNull() {
            addCriterion("canwrite is null");
            return (Criteria) this;
        }

        public Criteria andCanwriteIsNotNull() {
            addCriterion("canwrite is not null");
            return (Criteria) this;
        }

        public Criteria andCanwriteEqualTo(String value) {
            addCriterion("canwrite =", value, "canwrite");
            return (Criteria) this;
        }

        public Criteria andCanwriteNotEqualTo(String value) {
            addCriterion("canwrite <>", value, "canwrite");
            return (Criteria) this;
        }

        public Criteria andCanwriteGreaterThan(String value) {
            addCriterion("canwrite >", value, "canwrite");
            return (Criteria) this;
        }

        public Criteria andCanwriteGreaterThanOrEqualTo(String value) {
            addCriterion("canwrite >=", value, "canwrite");
            return (Criteria) this;
        }

        public Criteria andCanwriteLessThan(String value) {
            addCriterion("canwrite <", value, "canwrite");
            return (Criteria) this;
        }

        public Criteria andCanwriteLessThanOrEqualTo(String value) {
            addCriterion("canwrite <=", value, "canwrite");
            return (Criteria) this;
        }

        public Criteria andCanwriteLike(String value) {
            addCriterion("canwrite like", value, "canwrite");
            return (Criteria) this;
        }

        public Criteria andCanwriteNotLike(String value) {
            addCriterion("canwrite not like", value, "canwrite");
            return (Criteria) this;
        }

        public Criteria andCanwriteIn(List<String> values) {
            addCriterion("canwrite in", values, "canwrite");
            return (Criteria) this;
        }

        public Criteria andCanwriteNotIn(List<String> values) {
            addCriterion("canwrite not in", values, "canwrite");
            return (Criteria) this;
        }

        public Criteria andCanwriteBetween(String value1, String value2) {
            addCriterion("canwrite between", value1, value2, "canwrite");
            return (Criteria) this;
        }

        public Criteria andCanwriteNotBetween(String value1, String value2) {
            addCriterion("canwrite not between", value1, value2, "canwrite");
            return (Criteria) this;
        }

        public Criteria andCbIsNull() {
            addCriterion("cb is null");
            return (Criteria) this;
        }

        public Criteria andCbIsNotNull() {
            addCriterion("cb is not null");
            return (Criteria) this;
        }

        public Criteria andCbEqualTo(String value) {
            addCriterion("cb =", value, "cb");
            return (Criteria) this;
        }

        public Criteria andCbNotEqualTo(String value) {
            addCriterion("cb <>", value, "cb");
            return (Criteria) this;
        }

        public Criteria andCbGreaterThan(String value) {
            addCriterion("cb >", value, "cb");
            return (Criteria) this;
        }

        public Criteria andCbGreaterThanOrEqualTo(String value) {
            addCriterion("cb >=", value, "cb");
            return (Criteria) this;
        }

        public Criteria andCbLessThan(String value) {
            addCriterion("cb <", value, "cb");
            return (Criteria) this;
        }

        public Criteria andCbLessThanOrEqualTo(String value) {
            addCriterion("cb <=", value, "cb");
            return (Criteria) this;
        }

        public Criteria andCbLike(String value) {
            addCriterion("cb like", value, "cb");
            return (Criteria) this;
        }

        public Criteria andCbNotLike(String value) {
            addCriterion("cb not like", value, "cb");
            return (Criteria) this;
        }

        public Criteria andCbIn(List<String> values) {
            addCriterion("cb in", values, "cb");
            return (Criteria) this;
        }

        public Criteria andCbNotIn(List<String> values) {
            addCriterion("cb not in", values, "cb");
            return (Criteria) this;
        }

        public Criteria andCbBetween(String value1, String value2) {
            addCriterion("cb between", value1, value2, "cb");
            return (Criteria) this;
        }

        public Criteria andCbNotBetween(String value1, String value2) {
            addCriterion("cb not between", value1, value2, "cb");
            return (Criteria) this;
        }

        public Criteria andCtIsNull() {
            addCriterion("ct is null");
            return (Criteria) this;
        }

        public Criteria andCtIsNotNull() {
            addCriterion("ct is not null");
            return (Criteria) this;
        }

        public Criteria andCtEqualTo(Date value) {
            addCriterion("ct =", value, "ct");
            return (Criteria) this;
        }

        public Criteria andCtNotEqualTo(Date value) {
            addCriterion("ct <>", value, "ct");
            return (Criteria) this;
        }

        public Criteria andCtGreaterThan(Date value) {
            addCriterion("ct >", value, "ct");
            return (Criteria) this;
        }

        public Criteria andCtGreaterThanOrEqualTo(Date value) {
            addCriterion("ct >=", value, "ct");
            return (Criteria) this;
        }

        public Criteria andCtLessThan(Date value) {
            addCriterion("ct <", value, "ct");
            return (Criteria) this;
        }

        public Criteria andCtLessThanOrEqualTo(Date value) {
            addCriterion("ct <=", value, "ct");
            return (Criteria) this;
        }

        public Criteria andCtIn(List<Date> values) {
            addCriterion("ct in", values, "ct");
            return (Criteria) this;
        }

        public Criteria andCtNotIn(List<Date> values) {
            addCriterion("ct not in", values, "ct");
            return (Criteria) this;
        }

        public Criteria andCtBetween(Date value1, Date value2) {
            addCriterion("ct between", value1, value2, "ct");
            return (Criteria) this;
        }

        public Criteria andCtNotBetween(Date value1, Date value2) {
            addCriterion("ct not between", value1, value2, "ct");
            return (Criteria) this;
        }

        public Criteria andUbIsNull() {
            addCriterion("ub is null");
            return (Criteria) this;
        }

        public Criteria andUbIsNotNull() {
            addCriterion("ub is not null");
            return (Criteria) this;
        }

        public Criteria andUbEqualTo(String value) {
            addCriterion("ub =", value, "ub");
            return (Criteria) this;
        }

        public Criteria andUbNotEqualTo(String value) {
            addCriterion("ub <>", value, "ub");
            return (Criteria) this;
        }

        public Criteria andUbGreaterThan(String value) {
            addCriterion("ub >", value, "ub");
            return (Criteria) this;
        }

        public Criteria andUbGreaterThanOrEqualTo(String value) {
            addCriterion("ub >=", value, "ub");
            return (Criteria) this;
        }

        public Criteria andUbLessThan(String value) {
            addCriterion("ub <", value, "ub");
            return (Criteria) this;
        }

        public Criteria andUbLessThanOrEqualTo(String value) {
            addCriterion("ub <=", value, "ub");
            return (Criteria) this;
        }

        public Criteria andUbLike(String value) {
            addCriterion("ub like", value, "ub");
            return (Criteria) this;
        }

        public Criteria andUbNotLike(String value) {
            addCriterion("ub not like", value, "ub");
            return (Criteria) this;
        }

        public Criteria andUbIn(List<String> values) {
            addCriterion("ub in", values, "ub");
            return (Criteria) this;
        }

        public Criteria andUbNotIn(List<String> values) {
            addCriterion("ub not in", values, "ub");
            return (Criteria) this;
        }

        public Criteria andUbBetween(String value1, String value2) {
            addCriterion("ub between", value1, value2, "ub");
            return (Criteria) this;
        }

        public Criteria andUbNotBetween(String value1, String value2) {
            addCriterion("ub not between", value1, value2, "ub");
            return (Criteria) this;
        }

        public Criteria andUtIsNull() {
            addCriterion("ut is null");
            return (Criteria) this;
        }

        public Criteria andUtIsNotNull() {
            addCriterion("ut is not null");
            return (Criteria) this;
        }

        public Criteria andUtEqualTo(Date value) {
            addCriterion("ut =", value, "ut");
            return (Criteria) this;
        }

        public Criteria andUtNotEqualTo(Date value) {
            addCriterion("ut <>", value, "ut");
            return (Criteria) this;
        }

        public Criteria andUtGreaterThan(Date value) {
            addCriterion("ut >", value, "ut");
            return (Criteria) this;
        }

        public Criteria andUtGreaterThanOrEqualTo(Date value) {
            addCriterion("ut >=", value, "ut");
            return (Criteria) this;
        }

        public Criteria andUtLessThan(Date value) {
            addCriterion("ut <", value, "ut");
            return (Criteria) this;
        }

        public Criteria andUtLessThanOrEqualTo(Date value) {
            addCriterion("ut <=", value, "ut");
            return (Criteria) this;
        }

        public Criteria andUtIn(List<Date> values) {
            addCriterion("ut in", values, "ut");
            return (Criteria) this;
        }

        public Criteria andUtNotIn(List<Date> values) {
            addCriterion("ut not in", values, "ut");
            return (Criteria) this;
        }

        public Criteria andUtBetween(Date value1, Date value2) {
            addCriterion("ut between", value1, value2, "ut");
            return (Criteria) this;
        }

        public Criteria andUtNotBetween(Date value1, Date value2) {
            addCriterion("ut not between", value1, value2, "ut");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}